package com.tudouji.project.mt.http.response;

import lombok.Data;

import java.util.List;

@Data
public class FoodConsumptionItemResponse {


    /**
     * item : {"rootOrgId":1000,"orgId":1000,"itemSn":"example","bizDate":1000,"status":{"id":1,"name":"example"},"theoreticalCalcStatus":{"id":1,"name":"example"},"onceLackFoodBom":true,"onceLackWarehouse":true,"orderStartTimeGTE":1000,"orderEndTimeLTE":1000,"version":true}
     * details : [{"itemSn":"example","foodSkuId":1000,"foodName":"example","foodCategory":"example","foodSpec":"example","sourceChannel":{"id":1,"name":"example"},"outAmount":"example","notOutAmount":"example","goodsDetails":[{"warehouse":{"id":"example","code":"example","name":"example"},"goods":{"id":"example","code":"example","name":"example","category":{"id":"example","code":"example","name":"example"},"brand":"example","spec":"example","baseUnit":{"id":"example","name":"example","code":"example"},"units":[{"id":"example","name":"example","code":"example"}],"version":true},"consumptionAmount":"example","outAmount":"example","notOutAmount":"example","bizUnitConsumptionAmount":"example","bizUnitOutAmount":"example","bizUnitNotOutAmount":"example","conversionRateDesc":"example","baseUnitInfo":{"id":1000,"name":"example","code":"example"},"bizUnitInfo":{"id":1000,"name":"example","code":"example"},"supplementaryUnitConsumptionAmount":"example","supplementaryUnitOutAmount":"example","supplementaryUnitNotOutAmount":"example","supplementaryUnit":{"id":1000,"name":"example","code":"example"},"goodVersion":true}]}]
     */

    private ItemBean item;
    private List<DetailsBean> details;

    public ItemBean getItem() {
        return item;
    }

    public void setItem(ItemBean item) {
        this.item = item;
    }

    public List<DetailsBean> getDetails() {
        return details;
    }

    public void setDetails(List<DetailsBean> details) {
        this.details = details;
    }

    public static class ItemBean {
        /**
         * rootOrgId : 1000
         * orgId : 1000
         * itemSn : example
         * bizDate : 1000
         * status : {"id":1,"name":"example"}
         * theoreticalCalcStatus : {"id":1,"name":"example"}
         * onceLackFoodBom : true
         * onceLackWarehouse : true
         * orderStartTimeGTE : 1000
         * orderEndTimeLTE : 1000
         * version : true
         */

        private long rootOrgId;
        private long orgId;
        private String itemSn;
        private long bizDate;
        private StatusBean status;
        private TheoreticalCalcStatusBean theoreticalCalcStatus;
        private boolean onceLackFoodBom;
        private boolean onceLackWarehouse;
        private long orderStartTimeGTE;
        private long orderEndTimeLTE;
        private int version;

        public long getRootOrgId() {
            return rootOrgId;
        }

        public void setRootOrgId(long rootOrgId) {
            this.rootOrgId = rootOrgId;
        }

        public long getOrgId() {
            return orgId;
        }

        public void setOrgId(long orgId) {
            this.orgId = orgId;
        }

        public String getItemSn() {
            return itemSn;
        }

        public void setItemSn(String itemSn) {
            this.itemSn = itemSn;
        }

        public long getBizDate() {
            return bizDate;
        }

        public void setBizDate(long bizDate) {
            this.bizDate = bizDate;
        }

        public StatusBean getStatus() {
            return status;
        }

        public void setStatus(StatusBean status) {
            this.status = status;
        }

        public TheoreticalCalcStatusBean getTheoreticalCalcStatus() {
            return theoreticalCalcStatus;
        }

        public void setTheoreticalCalcStatus(TheoreticalCalcStatusBean theoreticalCalcStatus) {
            this.theoreticalCalcStatus = theoreticalCalcStatus;
        }

        public boolean isOnceLackFoodBom() {
            return onceLackFoodBom;
        }

        public void setOnceLackFoodBom(boolean onceLackFoodBom) {
            this.onceLackFoodBom = onceLackFoodBom;
        }

        public boolean isOnceLackWarehouse() {
            return onceLackWarehouse;
        }

        public void setOnceLackWarehouse(boolean onceLackWarehouse) {
            this.onceLackWarehouse = onceLackWarehouse;
        }

        public long getOrderStartTimeGTE() {
            return orderStartTimeGTE;
        }

        public void setOrderStartTimeGTE(long orderStartTimeGTE) {
            this.orderStartTimeGTE = orderStartTimeGTE;
        }

        public long getOrderEndTimeLTE() {
            return orderEndTimeLTE;
        }

        public void setOrderEndTimeLTE(long orderEndTimeLTE) {
            this.orderEndTimeLTE = orderEndTimeLTE;
        }

        public int isVersion() {
            return version;
        }

        public void setVersion(int version) {
            this.version = version;
        }

        public static class StatusBean {
            /**
             * id : 1
             * name : example
             */

            private long id;
            private String name;

            public long getId() {
                return id;
            }

            public void setId(long id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }

        public static class TheoreticalCalcStatusBean {
            /**
             * id : 1
             * name : example
             */

            private long id;
            private String name;

            public long getId() {
                return id;
            }

            public void setId(long id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }

    public static class DetailsBean {
        /**
         * itemSn : example
         * foodSkuId : 1000
         * foodName : example
         * foodCategory : example
         * foodSpec : example
         * sourceChannel : {"id":1,"name":"example"}
         * outAmount : example
         * notOutAmount : example
         * goodsDetails : [{"warehouse":{"id":"example","code":"example","name":"example"},"goods":{"id":"example","code":"example","name":"example","category":{"id":"example","code":"example","name":"example"},"brand":"example","spec":"example","baseUnit":{"id":"example","name":"example","code":"example"},"units":[{"id":"example","name":"example","code":"example"}],"version":true},"consumptionAmount":"example","outAmount":"example","notOutAmount":"example","bizUnitConsumptionAmount":"example","bizUnitOutAmount":"example","bizUnitNotOutAmount":"example","conversionRateDesc":"example","baseUnitInfo":{"id":1000,"name":"example","code":"example"},"bizUnitInfo":{"id":1000,"name":"example","code":"example"},"supplementaryUnitConsumptionAmount":"example","supplementaryUnitOutAmount":"example","supplementaryUnitNotOutAmount":"example","supplementaryUnit":{"id":1000,"name":"example","code":"example"},"goodVersion":true}]
         */

        private String itemSn;
        private long foodSkuId;
        private String foodName;
        private String foodCategory;
        private String foodSpec;
        private SourceChannelBean sourceChannel;
        private String outAmount;
        private String notOutAmount;
        private List<GoodsDetailsBean> goodsDetails;

        public String getItemSn() {
            return itemSn;
        }

        public void setItemSn(String itemSn) {
            this.itemSn = itemSn;
        }

        public long getFoodSkuId() {
            return foodSkuId;
        }

        public void setFoodSkuId(long foodSkuId) {
            this.foodSkuId = foodSkuId;
        }

        public String getFoodName() {
            return foodName;
        }

        public void setFoodName(String foodName) {
            this.foodName = foodName;
        }

        public String getFoodCategory() {
            return foodCategory;
        }

        public void setFoodCategory(String foodCategory) {
            this.foodCategory = foodCategory;
        }

        public String getFoodSpec() {
            return foodSpec;
        }

        public void setFoodSpec(String foodSpec) {
            this.foodSpec = foodSpec;
        }

        public SourceChannelBean getSourceChannel() {
            return sourceChannel;
        }

        public void setSourceChannel(SourceChannelBean sourceChannel) {
            this.sourceChannel = sourceChannel;
        }

        public String getOutAmount() {
            return outAmount;
        }

        public void setOutAmount(String outAmount) {
            this.outAmount = outAmount;
        }

        public String getNotOutAmount() {
            return notOutAmount;
        }

        public void setNotOutAmount(String notOutAmount) {
            this.notOutAmount = notOutAmount;
        }

        public List<GoodsDetailsBean> getGoodsDetails() {
            return goodsDetails;
        }

        public void setGoodsDetails(List<GoodsDetailsBean> goodsDetails) {
            this.goodsDetails = goodsDetails;
        }

        public static class SourceChannelBean {
            /**
             * id : 1
             * name : example
             */

            private long id;
            private String name;

            public long getId() {
                return id;
            }

            public void setId(long id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }

        public static class GoodsDetailsBean {
            /**
             * warehouse : {"id":"example","code":"example","name":"example"}
             * goods : {"id":"example","code":"example","name":"example","category":{"id":"example","code":"example","name":"example"},"brand":"example","spec":"example","baseUnit":{"id":"example","name":"example","code":"example"},"units":[{"id":"example","name":"example","code":"example"}],"version":true}
             * consumptionAmount : example
             * outAmount : example
             * notOutAmount : example
             * bizUnitConsumptionAmount : example
             * bizUnitOutAmount : example
             * bizUnitNotOutAmount : example
             * conversionRateDesc : example
             * baseUnitInfo : {"id":1000,"name":"example","code":"example"}
             * bizUnitInfo : {"id":1000,"name":"example","code":"example"}
             * supplementaryUnitConsumptionAmount : example
             * supplementaryUnitOutAmount : example
             * supplementaryUnitNotOutAmount : example
             * supplementaryUnit : {"id":1000,"name":"example","code":"example"}
             * goodVersion : true
             */

            private WarehouseBean warehouse;
            private GoodsBean goods;
            private String consumptionAmount;
            private String outAmount;
            private String notOutAmount;
            private String bizUnitConsumptionAmount;
            private String bizUnitOutAmount;
            private String bizUnitNotOutAmount;
            private String conversionRateDesc;
            private BaseUnitInfoBean baseUnitInfo;
            private BizUnitInfoBean bizUnitInfo;
            private String supplementaryUnitConsumptionAmount;
            private String supplementaryUnitOutAmount;
            private String supplementaryUnitNotOutAmount;
            private SupplementaryUnitBean supplementaryUnit;
            private boolean goodVersion;

            public WarehouseBean getWarehouse() {
                return warehouse;
            }

            public void setWarehouse(WarehouseBean warehouse) {
                this.warehouse = warehouse;
            }

            public GoodsBean getGoods() {
                return goods;
            }

            public void setGoods(GoodsBean goods) {
                this.goods = goods;
            }

            public String getConsumptionAmount() {
                return consumptionAmount;
            }

            public void setConsumptionAmount(String consumptionAmount) {
                this.consumptionAmount = consumptionAmount;
            }

            public String getOutAmount() {
                return outAmount;
            }

            public void setOutAmount(String outAmount) {
                this.outAmount = outAmount;
            }

            public String getNotOutAmount() {
                return notOutAmount;
            }

            public void setNotOutAmount(String notOutAmount) {
                this.notOutAmount = notOutAmount;
            }

            public String getBizUnitConsumptionAmount() {
                return bizUnitConsumptionAmount;
            }

            public void setBizUnitConsumptionAmount(String bizUnitConsumptionAmount) {
                this.bizUnitConsumptionAmount = bizUnitConsumptionAmount;
            }

            public String getBizUnitOutAmount() {
                return bizUnitOutAmount;
            }

            public void setBizUnitOutAmount(String bizUnitOutAmount) {
                this.bizUnitOutAmount = bizUnitOutAmount;
            }

            public String getBizUnitNotOutAmount() {
                return bizUnitNotOutAmount;
            }

            public void setBizUnitNotOutAmount(String bizUnitNotOutAmount) {
                this.bizUnitNotOutAmount = bizUnitNotOutAmount;
            }

            public String getConversionRateDesc() {
                return conversionRateDesc;
            }

            public void setConversionRateDesc(String conversionRateDesc) {
                this.conversionRateDesc = conversionRateDesc;
            }

            public BaseUnitInfoBean getBaseUnitInfo() {
                return baseUnitInfo;
            }

            public void setBaseUnitInfo(BaseUnitInfoBean baseUnitInfo) {
                this.baseUnitInfo = baseUnitInfo;
            }

            public BizUnitInfoBean getBizUnitInfo() {
                return bizUnitInfo;
            }

            public void setBizUnitInfo(BizUnitInfoBean bizUnitInfo) {
                this.bizUnitInfo = bizUnitInfo;
            }

            public String getSupplementaryUnitConsumptionAmount() {
                return supplementaryUnitConsumptionAmount;
            }

            public void setSupplementaryUnitConsumptionAmount(String supplementaryUnitConsumptionAmount) {
                this.supplementaryUnitConsumptionAmount = supplementaryUnitConsumptionAmount;
            }

            public String getSupplementaryUnitOutAmount() {
                return supplementaryUnitOutAmount;
            }

            public void setSupplementaryUnitOutAmount(String supplementaryUnitOutAmount) {
                this.supplementaryUnitOutAmount = supplementaryUnitOutAmount;
            }

            public String getSupplementaryUnitNotOutAmount() {
                return supplementaryUnitNotOutAmount;
            }

            public void setSupplementaryUnitNotOutAmount(String supplementaryUnitNotOutAmount) {
                this.supplementaryUnitNotOutAmount = supplementaryUnitNotOutAmount;
            }

            public SupplementaryUnitBean getSupplementaryUnit() {
                return supplementaryUnit;
            }

            public void setSupplementaryUnit(SupplementaryUnitBean supplementaryUnit) {
                this.supplementaryUnit = supplementaryUnit;
            }

            public boolean isGoodVersion() {
                return goodVersion;
            }

            public void setGoodVersion(boolean goodVersion) {
                this.goodVersion = goodVersion;
            }

            public static class WarehouseBean {
                /**
                 * id : example
                 * code : example
                 * name : example
                 */

                private String id;
                private String code;
                private String name;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }

            public static class GoodsBean {
                /**
                 * id : example
                 * code : example
                 * name : example
                 * category : {"id":"example","code":"example","name":"example"}
                 * brand : example
                 * spec : example
                 * baseUnit : {"id":"example","name":"example","code":"example"}
                 * units : [{"id":"example","name":"example","code":"example"}]
                 * version : true
                 */

                private String id;
                private String code;
                private String name;
                private CategoryBean category;
                private String brand;
                private String spec;
                private BaseUnitBean baseUnit;
                private int version;
                private List<UnitsBean> units;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public CategoryBean getCategory() {
                    return category;
                }

                public void setCategory(CategoryBean category) {
                    this.category = category;
                }

                public String getBrand() {
                    return brand;
                }

                public void setBrand(String brand) {
                    this.brand = brand;
                }

                public String getSpec() {
                    return spec;
                }

                public void setSpec(String spec) {
                    this.spec = spec;
                }

                public BaseUnitBean getBaseUnit() {
                    return baseUnit;
                }

                public void setBaseUnit(BaseUnitBean baseUnit) {
                    this.baseUnit = baseUnit;
                }

                public int isVersion() {
                    return version;
                }

                public void setVersion(int version) {
                    this.version = version;
                }

                public List<UnitsBean> getUnits() {
                    return units;
                }

                public void setUnits(List<UnitsBean> units) {
                    this.units = units;
                }

                public static class CategoryBean {
                    /**
                     * id : example
                     * code : example
                     * name : example
                     */

                    private String id;
                    private String code;
                    private String name;

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getCode() {
                        return code;
                    }

                    public void setCode(String code) {
                        this.code = code;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }
                }

                public static class BaseUnitBean {
                    /**
                     * id : example
                     * name : example
                     * code : example
                     */

                    private String id;
                    private String name;
                    private String code;

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public String getCode() {
                        return code;
                    }

                    public void setCode(String code) {
                        this.code = code;
                    }
                }

                public static class UnitsBean {
                    /**
                     * id : example
                     * name : example
                     * code : example
                     */

                    private String id;
                    private String name;
                    private String code;

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public String getCode() {
                        return code;
                    }

                    public void setCode(String code) {
                        this.code = code;
                    }
                }
            }

            public static class BaseUnitInfoBean {
                /**
                 * id : 1000
                 * name : example
                 * code : example
                 */

                private String id;
                private String name;
                private String code;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }
            }

            public static class BizUnitInfoBean {
                /**
                 * id : 1000
                 * name : example
                 * code : example
                 */

                private String id;
                private String name;
                private String code;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }
            }

            public static class SupplementaryUnitBean {
                /**
                 * id : 1000
                 * name : example
                 * code : example
                 */

                private long id;
                private String name;
                private String code;

                public long getId() {
                    return id;
                }

                public void setId(long id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }
            }
        }
    }
}
